package org.example.paymentservice.dto;

import lombok.Data;
import org.example.paymentservice.entity.Order;

import javax.validation.constraints.NotNull;
import java.util.Map;

@Data
public class PaymentRequest {
    @NotNull
    private Long orderId;

    @NotNull
    private Order.PaymentMethod paymentMethod;

    private Map<String, String> paymentDetails;
}